"""自定义异常类"""

class MysqlException(Exception):
    def __init__(self,message='数据库连接异常'):
        super().__init__(message)

class ExcelException(Exception):
    def __init__(self,message='excel解析异常'):
        super().__init__(message)

class ReqException(Exception):
    def __init__(self,message='requests请求异常'):
        super().__init__(message)

class SqlException(Exception):
    def __init__(self,message='sql请求异常'):
        super().__init__(message)

class ExpException(Exception):
    def __init__(self,message='提取异常'):
        super().__init__(message)

class AssertException(Exception):
    def __init__(self,message='断言异常'):
        super().__init__(message)